package com.salmon.weixin.po;

import lombok.Getter;
import lombok.Setter;

import javax.xml.bind.annotation.XmlElement;

/**
 * 微信消息父类
 */
@Getter
@Setter
public class BaseMessage {
	//接收方微信号
	@XmlElement(name = "ToUserName")
	private String toUserName;
	//发送方微信号
	@XmlElement(name = "FromUserName")
	private String fromUserName;
	//创建时间
	@XmlElement(name = "CreateTime")
	private long createTime;
	//消息类型
	@XmlElement(name = "MsgType")
	private String msgType;
}
